#ifndef _CABINET_H
#define _CABINET_H

#include <iostream>
#include "drink.h"

class Cabinet
{
private:
    static int maxnum = 10;
    drink drk;
    int capacity;
public:
    Cabinet():capacity(0){}  //无参构造函数,drink有重写无参构造，不需要初始化
    Cabinet(drink &_drink,int _capacity) : drk(_drink) capacity(_capacity) {}

    add()
};

#endif